package com.pj.service;


import com.pj.bean.BrandInfo;
import org.dromara.easyes.core.biz.EsPageInfo;

import java.util.List;


public interface ElasticSearchService {

    List<BrandInfo> getBrandAll(String name);

    EsPageInfo<BrandInfo> getBrandAllByPage(int pageNum, int pageSize);
}
